package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetVotePlayerListResp
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2016-3-16   上午11:23:36
 */
@XmlRootElement
public class GetVotePlayerListResp extends SuperResp{

	/** 
	* @Fields serialVersionUID : TODO
	*/ 
	private static final long serialVersionUID = 6804411906216176636L;
	
	private Integer recordSize;
	private List<VotePlayerInfo> votePlayerInfos;
	
	public Integer getRecordSize() {
		return recordSize;
	}

	public void setRecordSize(Integer recordSize) {
		this.recordSize = recordSize;
	}

	public List<VotePlayerInfo> getVotePlayerInfos() {
		return votePlayerInfos;
	}

	public void setVotePlayerInfos(List<VotePlayerInfo> votePlayerInfos) {
		this.votePlayerInfos = votePlayerInfos;
	}

	@Override
	public String toString() {
		return "GetVotePlayerListResp [recordSize=" + recordSize
				+ ", votePlayerInfos=" + votePlayerInfos + ", getResultCode()="
				+ getResultCode() + ", getResultDesc()=" + getResultDesc()
				+ "]";
	}

	public static class VotePlayerInfo implements Serializable{

		/** 
		* @Fields serialVersionUID : TODO
		*/ 
		private static final long serialVersionUID = -8385726400586371715L;
		private String name;
		private String code;
		private String relCode;
		private String relCodehd;
		private String avatar;
		private String avatarhd;
		private Integer votes; 
		private String profile;
		
		/**
		 * 选手信息使用
		 */
		private Integer votesOther;
		private Integer votesTotal;
		
		/**
		 * 月汇总使用
		 */
		private Integer voteYear;
		private Integer voteMonth;
		
		/**
		 * 周冠军使用
		 */
		private String gameSite;
		//yyyy-MM-dd
		private String announceTime;
		//MM.dd
		private String announceTimeFormat;
		//0:未公布；1：已公布
		private Integer announceStatus;
		/**
		 * 广场舞使用
		 */
		private String regionName;
		private String regionCode;
		private String playerNo;
		private Integer status;
		
		private String startTime;
		private String endTime;
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getRelCode() {
			return relCode;
		}
		public void setRelCode(String relCode) {
			this.relCode = relCode;
		}
		public String getRelCodehd() {
			return relCodehd;
		}
		public void setRelCodehd(String relCodehd) {
			this.relCodehd = relCodehd;
		}
		public String getAvatar() {
			return avatar;
		}
		public void setAvatar(String avatar) {
			this.avatar = avatar;
		}
		public String getAvatarhd() {
			return avatarhd;
		}
		public void setAvatarhd(String avatarhd) {
			this.avatarhd = avatarhd;
		}
		public Integer getVotes() {
			return votes;
		}
		public void setVotes(Integer votes) {
			this.votes = votes;
		}
		public String getProfile() {
			return profile;
		}
		public void setProfile(String profile) {
			this.profile = profile;
		}
		public Integer getVotesOther() {
			return votesOther;
		}
		public void setVotesOther(Integer votesOther) {
			this.votesOther = votesOther;
		}
		public Integer getVotesTotal() {
			return votesTotal;
		}
		public void setVotesTotal(Integer votesTotal) {
			this.votesTotal = votesTotal;
		}
		public Integer getVoteYear() {
			return voteYear;
		}
		public void setVoteYear(Integer voteYear) {
			this.voteYear = voteYear;
		}
		public Integer getVoteMonth() {
			return voteMonth;
		}
		public void setVoteMonth(Integer voteMonth) {
			this.voteMonth = voteMonth;
		}
		public String getGameSite() {
			return gameSite;
		}
		public void setGameSite(String gameSite) {
			this.gameSite = gameSite;
		}
		public String getAnnounceTime() {
			return announceTime;
		}
		public void setAnnounceTime(String announceTime) {
			this.announceTime = announceTime;
		}
		public String getAnnounceTimeFormat() {
			return announceTimeFormat;
		}
		public void setAnnounceTimeFormat(String announceTimeFormat) {
			this.announceTimeFormat = announceTimeFormat;
		}
		public Integer getAnnounceStatus() {
			return announceStatus;
		}
		public void setAnnounceStatus(Integer announceStatus) {
			this.announceStatus = announceStatus;
		}
		public String getRegionName() {
			return regionName;
		}
		public void setRegionName(String regionName) {
			this.regionName = regionName;
		}
		public String getRegionCode() {
			return regionCode;
		}
		public void setRegionCode(String regionCode) {
			this.regionCode = regionCode;
		}
		public String getPlayerNo() {
			return playerNo;
		}
		public void setPlayerNo(String playerNo) {
			this.playerNo = playerNo;
		}
		public Integer getStatus() {
			return status;
		}
		public void setStatus(Integer status) {
			this.status = status;
		}
		public String getStartTime() {
			return startTime;
		}
		public void setStartTime(String startTime) {
			this.startTime = startTime;
		}
		public String getEndTime() {
			return endTime;
		}
		public void setEndTime(String endTime) {
			this.endTime = endTime;
		}
		@Override
		public String toString() {
			return "VotePlayerInfo [name=" + name + ", code=" + code
					+ ", relCode=" + relCode + ", relCodehd=" + relCodehd
					+ ", votes=" + votes + ", votesOther=" + votesOther
					+ ", votesTotal=" + votesTotal + "]";
		}
	}
	
}

